#ifndef __FILEPROCESSOR_H
#define __FILEPROCESSOR_H
#include "PagePreprocess/WebPage.h"
#include "PagePreprocess/tinyxml2.h"
#include "Mylogger.hh"
#include <string>
#include <iostream>
#include <vector>
using std::vector;
using std::string;
using std::cout;
 
class FileProcessor
{
public:
    FileProcessor();
    void process(const string & filename);
    vector<WebPage> & getWebPages();
    void clearwebpages();
private:
    string _titleFeature;
    vector<WebPage> _webpages;
    int _webid;
};
 
#endif